<div class="p-head">
    <b class="c3">统计</b>
    <div class="r">
        <a href="/bbs/index/3/" class="ajax" title="意见反馈">意见反馈</a>
    </div>
    <div id="desc">
        统计分析收入支出及财务状况。。。
    </div>
</div>
<div class="tabs_t tabs_n">
    <ul class="ajax">
        <?php $type = segment(1) ? segment(1) : 'expense' ?>
        <?php foreach ($typelist as $m => $n) { ?>
            <li class="<?= $type == $m ? 'current' : '' ?>"><a href="/statics/<?= $m ?>/"><?= $n ?></a></li>                        
        <?php } ?>
    </ul>
    <span class="r clear">
        <!--<a href="javascript:;" title="导出数据" class="btn btn_s"><span><b class="icon icon-edit"></b><em>导出数据</em></span></a>-->
    </span>
</div>
<div class="tabs_m">
    <form id="expenseform">
        <?php include VIEWPATH . '/statics/seldate.php'; ?>
    </form>
    <div id="expensechart"><?= $chartdata ?></div>
</div>
<script type="text/javascript">
    KS.common.load('statistics.expense');
</script>